<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ToolCabinetModel extends Model
{
    //研学工具箱
    protected $table='tool_cabinet';

 /*   public function getContentAttribute($extra)
    {
        return array_values(json_decode($extra, true) ?: []);
    }

    public function setContentAttribute($extra)
    {
        $this->attributes['content'] = json_encode(array_values($extra));
    }*/

}
